Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
QuickDraw 3D RAVE Routines / Registering a Custom Drawing Engine


QARegisterDrawMethod

You can use the QARegisterDrawMethod function to register a public draw context method with QuickDraw 3D RAVE.

TQAError QARegisterDrawMethod (
                               TQADrawContext *drawContext, 
                               TQADrawMethodTag methodTag, 
                               TQADrawMethod method);
drawContext
A draw context.
methodTag
A selector that determines which draw context method is to be registered for the specified draw context. See "Public Draw Context Method Selectors" (page 1-67) for complete information about the available method selectors.
method
A pointer to the draw context method of the specified type.
DESCRIPTION
The QARegisterDrawMethod function changes the method pointer of the draw context specified by the drawContext parameter that has the type specified by the methodTag parameter to the method specified by the method parameter. You should call QARegisterDrawMethod instead of directly changing the fields of a draw context structure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help